<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./Public/index.css">
</head>
<body>
首页
<hr>
<!--如果是登陆状态-->
<?php if(isset($_SESSION['username'])): ?>
    欢迎<?php echo $_SESSION['username'] ?> 回来! <a href="?c=Member&a=out">退出</a>
<?php else: ?>
    <a href="?c=Member&a=login">登陆</a>
    <a href="?c=Member&a=reg">注册</a>
<?php endif ?>
</body>
</html>